﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Akronus.TaskScheduler
{
    /// <summary>
    /// The interface for the task service.
    /// </summary>
    public interface ITaskService
    {
        /// <summary>
        /// Starts the tasks.
        /// </summary>
        void StartTasks();

        /// <summary>
        /// Stops the tasks.
        /// </summary>
        void StopTasks();

        /// <summary>
        /// Runs the specified task.
        /// </summary>
        /// <param name="taskName">Name of the task.</param>
        void RunTask(string taskName);
    }
}
